package org.skydiveapplibrary.data;

import java.util.ArrayList;
import java.util.List;

import org.skydiveapplibrary.R;

public enum FreefallProfileType
{
	Vertical (R.string.freefall_profile_type_vertical),
	Horizontal (R.string.freefall_profile_type_horizontal),
	Tracking (R.string.freefall_profile_type_tracking),
	Wingsuit (R.string.freefall_profile_type_wingsuit),
	Skysurfing (R.string.freefall_profile_type_skysurfing);
	
	private int resourceId;
	
	FreefallProfileType(int resourceId)
	{
		this.resourceId = resourceId;
	}
	
	public int getResourceId()
	{
		return resourceId; 
	}
	
	public static List<FreefallProfileType> getItems()
	{
		List<FreefallProfileType> values = new ArrayList<FreefallProfileType>();
		for (FreefallProfileType value: FreefallProfileType.values())
		{
			values.add(value);
		}
		
		return values;
	}
}